// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}
.el-table__fixed {
  height: 100% !important; // 让固定列的高自适应，且设置!important覆盖ele-ui的默认样式
  // bottom:17px; // 固定列默认设置了定位，    position: absolute;top: 0;left: 0;只需要再设置一下bottom的值，让固定列和父元素的底部出现距离即可
  position: absolute;
  top: 0;
  left: 0;
}
// .el-table__fixed-body-wrapper {
//   height: calc(100% - 28px) !important;
// }
.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
  background: rgb(227, 240, 253);
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}
// * > .el-tag {
//   color: rgb(47, 79, 79);
// }

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-menu--collapse
  > div
  > .el-submenu
  > .el-submenu__title
  .el-submenu__icon-arrow {
  display: none;
}

//修改table全局样式
.el-table,
.plTableBox .el-table {
  .el-table__row td {
    padding: 0 0 0 0;
    height: 30px;
    .cell {
      white-space: nowrap;
      padding: 0 0 0 0;
    }
  }
  .cell,
  .el-table--border td:first-child .cell {
    padding: 0;
  }
  // thead部分的样式修改
  thead th {
    height: 30px;
    font-size: 14px;
    padding: 5px 0px;
    color: #47494e;
    background: #f8f8f8;
  }
  // 表格border颜色修改
  .el-table__body tr:hover > td {
    background: #eaf2fe;
  }
}
.elx-table .elx-body--column.col--ellipsis,
.elx-table .elx-footer--column.col--ellipsis,
.elx-table .elx-header--column.col--ellipsis,
.elx-table.elx-editable .elx-body--column {
  height: 36px;
}
.el-tag.el-tag--danger {
  background: none;
}
.el-tag.el-tag--success {
  background: none;
}
.el-tag.el-tag--warning {
  background: none;
}
.el-tag.el-tag--info {
  background: none;
}
//.el-input__inner{
//  width: 220px;
//}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.el-dialog .el-table__body .el-checkbox .el-checkbox__input {
  padding: 0 0 0 0px;
}
.dialog-footer {
  text-align: right;
}
.inputName > .el-input__inner {
  width: 80px;
  height: 20px;
  line-height: 20px;
}
.el-input.is-disabled .el-input__inner {
  background-color: #f0f5fd;
  border-color: #c5d8ff;
  color: #676f81;
}
.el-input-group__append,
.el-input-group__prepend {
  padding: 0px 6px;
}
.el-tree-node.is-current {
  .el-tree-node__content {
    background-color: #9fcff7;
  }
}
